﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LdtJudge.DataEngine.Model.XMLConfigModel.SameNodeConfigModel
{

    // 注意: 生成的代码可能至少需要 .NET Framework 4.5 或 .NET Core/Standard 2.0。
    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    [System.Xml.Serialization.XmlRootAttribute(ElementName = "samenode", Namespace = "", IsNullable = false)]
    public partial class SameNodeConfig
    {

        private SameNodeXml[] xmllableField;
        private string nameField;

        private string chinesenameField;

        /// <summary>
        /// 节点配置集合
        /// </summary>
        [System.Xml.Serialization.XmlElementAttribute("xmllable")]
        public SameNodeXml[] xmllable
        {
            get
            {
                return this.xmllableField;
            }
            set
            {
                this.xmllableField = value;
            }
        }

        /// <summary>
        /// 节点中文名称
        /// </summary>
        [System.Xml.Serialization.XmlAttributeAttribute("chinesename")]
        public string ChineseName
        {
            get
            {
                return this.chinesenameField;
            }
            set
            {
                this.chinesenameField = value;
            }
        }

        /// <summary>
        /// 节点名称
        /// </summary>
        [System.Xml.Serialization.XmlAttributeAttribute("name")]
        public string Name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }

    }

    /// <remarks/>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public partial class SameNodeXml
    {

        private List<HandleType> handletypeField;

        private string overallField;

        private string xmlpathField;

        /// <summary>
        /// 业务数据处理类型集合
        /// </summary>
        [System.Xml.Serialization.XmlElementAttribute("handletype")]
        public List<HandleType> HandleTypes
        {
            get
            {
                return this.handletypeField;
            }
            set
            {
                this.handletypeField = value;
            }
        }

        /// <summary>
        /// 节点处理方式如果为1则表示为整体处理
        /// </summary>
        [System.Xml.Serialization.XmlAttributeAttribute("overall")]
        public string OverAll
        {
            get
            {
                return this.overallField;
            }
            set
            {
                this.overallField = value;
            }
        }

        /// <summary>
        /// 配置路径
        /// </summary>
        [System.Xml.Serialization.XmlAttributeAttribute("xmlpath")]
        public string XmlPath
        {
            get
            {
                return this.xmlpathField;
            }
            set
            {
                this.xmlpathField = value;
            }
        }
    }

    /// <summary>
    /// 当前节点处理类型
    /// </summary>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public partial class HandleType
    {

        private List<CurrentNote> currentnoteField;

        private ChildNode childnodeField;

        private string codeField;

        private string nameField;

        private string isCoverField;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("currentnote")]
        public List<CurrentNote> CurrentNote
        {
            get
            {
                return this.currentnoteField;
            }
            set
            {
                this.currentnoteField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("childnode")]
        public ChildNode ChildNode
        {
            get
            {
                return this.childnodeField;
            }
            set
            {
                this.childnodeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute("code")]
        public string Code
        {
            get
            {
                return this.codeField;
            }
            set
            {
                this.codeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute("name")]
        public string Name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute("iscover")]
        public string IsCover
        {
            get
            {
                return this.isCoverField;
            }
            set
            {
                this.isCoverField = value;
            }
        }

    }

    /// <summary>
    /// 标识节点配置
    /// </summary>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public partial class CurrentNote
    {

        private string nameField;

        /// <summary>
        /// 属性标识名称
        /// </summary>
        [System.Xml.Serialization.XmlAttributeAttribute("name")]
        public string Name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }
    }

    /// <summary>
    /// 节点配置
    /// </summary>
    [System.SerializableAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true)]
    public partial class ChildNode
    {

        private string nameField;

        private string elementField;

        /// <summary>
        /// 节点名称
        /// </summary>
        [System.Xml.Serialization.XmlAttributeAttribute("name")]
        public string Name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }

        /// <summary>
        /// 节点属性
        /// </summary>
        [System.Xml.Serialization.XmlAttributeAttribute("element")]
        public string Element
        {
            get
            {
                return this.elementField;
            }
            set
            {
                this.elementField = value;
            }
        }
    }


}
